import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    // location:sessionStorage.getItem("location") || ""
    location:"郑州市",
    address:'郑州市金水区金水路',
    num:"226号"
    
  },
  mutations: {

    setlocation(state,payload){
        state.location=payload
        // sessionStorage.setItem("location",payload)
    },
    // addressa(state,payload){
    //   state.address=payload
    // }

  },
  actions: {
  },
  modules: {
  }
})
